<li>
  <div>
    <span><%=link_to image_tag("/images/proimages/"+(item.img ? item.img.gsub(".","_s."):"noimage.png")), product_path(item) %></span>
     <p class="name"><%= link_to truncate(item.name), product_path(item) %></p>
     <p class="strike">
     市场价：<%=number_to_currency(item.price, :unit => "元",:precision => 2, :format => "%n %u")%>
    </p>
    <p class="redcolor">
     本站价：<b><%=number_to_currency(item.now_price, :unit => "元",:precision => 2, :format => "%n %u")%></b>
    </p>
   <p >
    <%= add_product_link "<img src='/images/add_to_cart.gif'/>",item %>
   </p>
  </div>
</li>